package com.lancoo.ccas52.mapper;

import com.lancoo.ccas52.entity.CssRange;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lancoo.ccas52.config.MybatisRedisCache;
import com.lancoo.ccas52.pojo.dto.CssTaskRoundInfo;
import org.apache.ibatis.annotations.CacheNamespace;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author quin.song
 * @since 2023-06-19
 */
@CacheNamespace(implementation = MybatisRedisCache.class, eviction = MybatisRedisCache.class)
public interface CssRangeMapper extends BaseMapper<CssRange> {

    /**
     * 获取所有阶段信息
     * @return
     */
    List<CssTaskRoundInfo> getAllRoundInfo();

}
